]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: Ease main adjustment when animating to/from overview
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 1 Jan 2021 17:00:30 +0000 (14:00 -0300)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Feb 2021 15:50:31 +0000 (15:50 +0000)
commitb6337a7bf1e7c72ff04c0cbd1d1e7778d930a436
tree8dc96718c16ae6591487dffbd627139d07dc6180
parent0a8aeebd301f3ffe561651511059a1e17c49d0f6
overviewControls: Ease main adjustment when animating to/from overview

Instead of delegating it to ViewSelector, make the transition to and from
overview ease the main state adjustment.

This commit temporarily breaks these animations, but on the other hand
introduces an important feature: ViewSelector is always allocated to the
actual size. This will finally allow for adding WorkspacesView as a child
of WorkspacesDisplay, and finally remove the actual geometry hack, which
is what next commit is about.

This commit also effectively reverts b64103efc.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1624>
js/ui/overviewControls.js
js/ui/viewSelector.js
js/ui/workspacesView.js